<%= form_for @sold,:id => 'create_sold_form',:remote => true do|f| %>
      <%= f.hidden_field :bill_id :value => @bill.id %>
      <%= f.hidden_field :stock_id %>
      <%= f.hidden_field :cost %>
<% end %>
